/*
 *                    COPYRIGHT NOTICE
 *
 *           This code is copyright protected by Freedom Inc.
 *
 *              2001-2012 All Rights Are Reserved
 */
package com.freedom.oldsong.system.dao.impl;

import com.freedom.oldsong.system.dao.UserDao;
import com.freedom.oldsong.system.model.User;

/**
 * @author steven.wang
 *
 */
public class UserDaoImpl implements UserDao {

	//TODO for test
	@Override
	public User getUserByLoginName(String loginName) {
		User user = new User();
		user.setId(1L);
		user.setFirstName("Steven");
		user.setLastName("Wang");
		user.setLoginName("steven.wang");
		user.setPassword("111111111");
		user.setUsername("Steven Wang");
		user.setShowLanguage("english");
		return user;
	}

}
